package com.design.decorator;


/**
 * 单点登录
 * @author ytj
 * @date 2024/11/27 17:22
 */
public class OssInterceptor implements HandleInterceptor {
    @Override
    public boolean preHandle(String request, String response, Object handle) {
        String ticket = request.substring(1, 8);
        return ticket.equals("success");
    }
}
